SdJwtFactory

constructor(hashAlgorithm: HashAlgorithm = HashAlgorithm.SHA_256, saltProvider: SaltProvider = SaltProvider.Default, decoyGen: DecoyGen = DecoyGen.Default, fallbackMinimumDigests: MinimumDigests? = null)(source)

Parameters

hashAlgorithm

the algorithm to calculate the DisclosureDigest

saltProvider

provides Salt for the calculation of Disclosure

fallbackMinimumDigests

This is an optional hint, that expresses the number of digests on the immediate level of every DisclosableObject. It will be taken into account if there is not an explicit hint for this DisclosableObject. If not provided, decoys will be added only if there is a hint at DisclosableObject level.